package com.tc;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.scheduling.annotation.EnableScheduling;
import tk.mybatis.spring.annotation.MapperScan;

@SpringBootApplication
@EnableEurekaClient
@MapperScan(basePackages ="com.tc.dao")
@EnableCaching  //注解缓存功能
//@EnableScheduling //定时任务
//@EnableRedisHttpSession(maxInactiveIntervalInSeconds = 1800)  //session共享 30分钟
@EnableFeignClients
public class MoveHouseApplication {
    public static void main(String[] args) {
        SpringApplication.run(MoveHouseApplication.class, args);
    }

}
